import { Module } from '@nestjs/common';
import { BannerDataService, BannerService } from "./banner.service";
import { BannerController, BannerDataController } from "./banner.controller";
import { TypeOrmModule } from "@nestjs/typeorm";
import { BannerType } from "./entities/banner_type.entity";
import { BannerData } from "./entities/banner_data.entity";
import { MulterConfigService } from "../common/custom-storage";

@Module({
  imports:[TypeOrmModule.forFeature([BannerType,BannerData])],
  controllers: [BannerController,BannerDataController],
  providers: [BannerService, BannerDataService, MulterConfigService],
})
export class BannerModule {}
